class NiurenPageItemModel {
  String imageurl;
  String name;
  bool isMoney;
  bool isLove;
  String tip1;
  String tip2;
  double tip3;
  int day;
  int number;
  String x;
  double canFollow;
  int profitRate;
  double profit;
  int followNum;
  int concernNum;
  bool isConcern;
  bool isFollow;
  bool isTransaction;

  NiurenPageItemModel(
      {this.imageurl,
        this.name,
        this.isMoney,
        this.isLove,
        this.tip1,
        this.tip2,
        this.tip3,
        this.day,
        this.number,
        this.x,
        this.canFollow,
        this.profitRate,
        this.profit,
        this.followNum,
        this.concernNum,
        this.isConcern,
        this.isFollow,
        this.isTransaction});

  NiurenPageItemModel.fromJson(Map<String, dynamic> json) {
    imageurl = json['imageurl'];
    name = json['name'];
    isMoney = json['isMoney'];
    isLove = json['isLove'];
    tip1 = json['tip1'];
    tip2 = json['tip2'];
    tip3 = json['tip3'];
    day = json['day'];
    number = json['number'];
    x = json['x'];
    canFollow = json['canFollow'];
    profitRate = json['profitRate'];
    profit = json['profit'];
    followNum = json['followNum'];
    concernNum = json['concernNum'];
    isConcern = json['isConcern'];
    isFollow = json['isFollow'];
    isTransaction = json['isTransaction'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['imageurl'] = this.imageurl;
    data['name'] = this.name;
    data['isMoney'] = this.isMoney;
    data['isLove'] = this.isLove;
    data['tip1'] = this.tip1;
    data['tip2'] = this.tip2;
    data['tip3'] = this.tip3;
    data['day'] = this.day;
    data['number'] = this.number;
    data['x'] = this.x;
    data['canFollow'] = this.canFollow;
    data['profitRate'] = this.profitRate;
    data['profit'] = this.profit;
    data['followNum'] = this.followNum;
    data['concernNum'] = this.concernNum;
    data['isConcern'] = this.isConcern;
    data['isFollow'] = this.isFollow;
    data['isTransaction'] = this.isTransaction;
    return data;
  }
}